projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d4bd03
)
Remove a shortcut in gtk_widget_set_focus_child
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 25 Oct 2017 22:26:06 +0000
(18:26 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 25 Oct 2017 22:26:06 +0000
(18:26 -0400)
Since focus can now be represented by more than one state,
just looking at the focus_child is no longer sufficient - we
may fail to propagate :focus(visible) if we do so. For now,
just remove the shortcut and always do the work.
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index 823b3ab32086571c9bdb5b436abdfb46ad423c49..e1e7d7332e8062bc4bf051e9b403591af23b4194 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-15466,9
+15466,6
@@
gtk_widget_set_focus_child (GtkWidget *widget,
g_return_if_fail (GTK_IS_WIDGET (widget));
- if (child == priv->focus_child)
- return;
-
if (child != NULL)
{
g_return_if_fail (GTK_IS_WIDGET (child));